package com.top10.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author su
 * @since 2019-01-03
 */
@TableName("tb_user_openid")
public class UserOpenid extends Model<UserOpenid> {

    private static final long serialVersionUID = 1L;

	private Integer id;
    /**
     * user表的uuid
     */
	@TableField("user_uuid")
	private String userUuid;
    /**
     * 微信的openid
     */
	@TableField("wx_openid")
	private String wxOpenid;
    /**
     * QQ的openid
     */
	@TableField("qq_openid")
	private String qqOpenid;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserUuid() {
		return userUuid;
	}

	public void setUserUuid(String userUuid) {
		this.userUuid = userUuid;
	}

	public String getWxOpenid() {
		return wxOpenid;
	}

	public void setWxOpenid(String wxOpenid) {
		this.wxOpenid = wxOpenid;
	}

	public String getQqOpenid() {
		return qqOpenid;
	}

	public void setQqOpenid(String qqOpenid) {
		this.qqOpenid = qqOpenid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UserOpenid{" +
			", id=" + id +
			", userUuid=" + userUuid +
			", wxOpenid=" + wxOpenid +
			", qqOpenid=" + qqOpenid +
			"}";
	}
}
